home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1234 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news1.cle.ab.com!usenet
  2. From: don.phillips@ab.com (Donald-Anthony C. Phillips)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: REQ: cgi.bin example in www (form)
  5. Date: Fri, 12 Jan 1996 16:38:56 GMT
  6. Organization: The Allen-Bradley Co., Inc
  7. Distribution: inet
  8. Message-ID: <4d5o9h$amv@news1.cle.ab.com>
  9. References: <4d2nad$cj9@luotsi.uku.fi>
  10. NNTP-Posting-Host: abpc386.cle.ab.com
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. There are plenty of C scripts available for forms and other things.
  14. If you don't know how WWW forms work, then you should look at the NCSA
  15. tutorial on WWW forms and CGI. ( http://hoohoo.ncsa.uiuc.edu/cgi/)
  16.  
  17. Once you do this, creating a form is a simple as parsing the query
  18. string passed to your CGI program, processing the info, and outputing
  19. the results back to the client.  The tutorial gives a good overview of
  20. what to do.  There is also C code called QUERY.C & UTIL.C which have
  21. the functions needed to parse the query string and place it into an
  22. array of names and values.
  23.  
  24.  
  25. This should give you a good starting point.
  26.  
  27. Donald-Anthony C. Phillips
  28. Programmer/Analyst
  29.  Rockwell  Automation
  30.        ---------------------------------------
  31.         Allen-Bradley
  32. don.phillips@ab.com
  33.  
  34.